#include<stdio.h>
#include<stdlib.h>

int main(){
  int *p = malloc(sizeof(int));
  printf("input:");
  scanf("%d", p);

  printf("output: p = %p, *p = %d\n", p, *p);
  return 0;
}
